package com.letoken.platform.app.service.impl;


import com.letoken.platform.repo.app.dao.RedEnvelopeConfigMapper;
import com.letoken.platform.repo.app.po.RedEnvelopeConfig;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class RedEnvelopeConfigService {



    @Resource
    private RedEnvelopeConfigMapper mapper;



    public RedEnvelopeConfig get(Integer type){
        return mapper.selectByType(type);
    }

}
